package com.fd.wpx.blog.mapper;

import com.fd.wpx.blog.pojo.WorksResult;
import com.fd.wpx.blog.pojo.WorksResultExample;
import com.fd.wpx.blog.pojo.WorksResultWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorksResultMapper {
    int countByExample(WorksResultExample example);

    int deleteByExample(WorksResultExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WorksResultWithBLOBs record);

    int insertSelective(WorksResultWithBLOBs record);

    List<WorksResultWithBLOBs> selectByExampleWithBLOBs(WorksResultExample example);

    List<WorksResult> selectByExample(WorksResultExample example);

    WorksResultWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WorksResultWithBLOBs record, @Param("example") WorksResultExample example);

    int updateByExampleWithBLOBs(@Param("record") WorksResultWithBLOBs record, @Param("example") WorksResultExample example);

    int updateByExample(@Param("record") WorksResult record, @Param("example") WorksResultExample example);

    int updateByPrimaryKeySelective(WorksResultWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WorksResultWithBLOBs record);

    int updateByPrimaryKey(WorksResult record);
}